// ---------------------------------------------------------------------------
// Campari Software
//
// FileDownloadStatusChangedEventArgs.cs
//
// Provides the delegate and associated derived EventArgs class used to provide
// the calling code a way to specify the callback to be used when the
// SpursStatusChanged event.
//
// ---------------------------------------------------------------------------
// Copyright (C) 2006-2007 Campari Software
// All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
// FITNESS FOR A PARTICULAR PURPOSE.
// ---------------------------------------------------------------------------
using System;
using System.Globalization;

namespace Nojin.Netwwork.Download
{
    /// <summary>
    /// Provides data for the <see cref="FileDownloader.DownloadStatusChanged"/> event.
    /// </summary>
    public class FileDownloadStatusChangedEventArgs : EventArgs
    {

        #region Fields
        private string message;
        #endregion

        #region Constructors
        internal FileDownloadStatusChangedEventArgs(string message)
            : base()
        {
            this.message = message;
        }
        #endregion

        #region properties

        /// <summary>
        /// Gets the status message.
        /// </summary>
        /// <value>A <see cref="String"/> value indicating the status message.</value>
        public string Message
        {
            get
            {
                return message;
            }
        }

        #endregion


    }
}
